package com.zzyl.nursing.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @version: 1.0
 * @Author: ljy
 * @description:
 * @date: 2025-08-07 11:13
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class NursingTaskPageDto {

    private String elderName;//老人姓名

    private Long nurseId;//护理员id

    private Long projectId;//项目id

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;//开始时间

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;//结束时间

    private Integer status;//状态

    private Integer pageNum = 1;//页码

    private Integer pageSize = 10;//每页数量
}
